
<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <title>Business Consultancy Form Responsive Widget Template :: w3layouts</title>
    <!-- Meta-Tags -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta charset="utf-8">
    <meta name="keywords" content="Business Consultancy Form a Flat Responsive Widget,Login form widgets, Sign up Web forms , Login signup Responsive web form,Flat Pricing table,Flat Drop downs,Registration Forms,News letter Forms,Elements" />
    <script>
        addEventListener("load", function () {
            setTimeout(hideURLbar, 0);
        }, false);

        function hideURLbar() {
            window.scrollTo(0, 1);
        }
    </script>
    <!-- //Meta-Tags -->
    <!-- Stylesheets -->
    <link th:href="@{/css/style.css}" rel='stylesheet' type='text/css' />
    <!--// Stylesheets -->
    <!--fonts-->
    <link href="//fonts.googleapis.com/css?family=Abhaya+Libre:400,500,600,700,800" rel="stylesheet">
    <!--//fonts-->

    <style>
        body{
            background-color: #1c7430;
        }
    </style>
</head>

<body>
<h1>欢迎<span th:text="${loginUser}"></span>进入转账系统 </h1>
<div class="w3ls-contact">
    <!-- form starts here -->
    <form method="post" th:action="@{/user/transfer}">
        <div class="agile-field-txt">
            <label>
                </i>请输入你的账户名 :</label>
            <input type="text" name="fromUser" />
        </div>
        <div class="agile-field-txt">
            <label>
                请输入需要转账的账户名 :</label>
            <input type="text" name="toUser" />
        </div>
        <div class="agile-field-txt">
            <label>
                转账金额 :</label>
            <input type="number" name="transferMoney" placeholder="请输入需要转账的金额" required="" />
        </div>
        <div class="w3ls-contact  w3l-sub">
            <input type="submit" value="转账提交" ></br>
        </div>
        <p style="color:red ;text-align: center" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>

    </form>
    <div class="w3ls-contact  w3l-sub">
        <a th:href="@{/user/array}">进入管理界面</a>
    </div>

</div>

<script>

</script>
</body>

</html>